package com.ruoyi.creditlife.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 医生数据对象 doctor
 * 
 * @author ddd
 * @date 2025-07-11
 */
public class Doctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生ID */
    private Long doctorId;

    /** 医院ID */
    @Excel(name = "医院ID")
    private Long hospitalId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String name;

    /** 医生头衔 */
    @Excel(name = "医生头衔")
    private String title;

    /** 医生专长 */
    @Excel(name = "医生专长")
    private String specialty;

    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }

    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("doctorId", getDoctorId())
            .append("hospitalId", getHospitalId())
            .append("name", getName())
            .append("title", getTitle())
            .append("specialty", getSpecialty())
            .toString();
    }
}
